import request from '@/utils/request'

export function pageLabManagers(params) {
  return request({
    url: '/api/lab-manager/page-lab-managers',
    method: 'get',
    params: params
  })
}

export function addLabManager(data) {
  return request({
    url: '/api/lab-manager/add-lab-manager',
    method: 'post',
    data
  })
}

export function updateLabManager(data) {
  return request({
    url: '/api/lab-manager/update-lab-manager',
    method: 'post',
    data
  })
}

export function deleteLabManager(id) {
  return request({
    url: '/api/lab-manager/delete-lab-manager/' + id,
    method: 'delete'
  })
}
